<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../js/vue.js"></script>
    <title>Document</title>
    <style>
    .active {
      border: 10px solid blue;
      width: 100px;
      height: 100px;
    }
    .error {
      background-color: orange;
    }
    .big{  font-size:30px; }

    .box{

    }
    </style>
</head>
<body>
    <div id="app">
        <!-- 
        <div :class="{error:k1, active:k1,big:k1}"> JSON </div>
    
        <div :class="sz"> 数组绑定 </div>

        <div v-bind:class="['big','error',{active:k3}]">
            用数组+JSON混合
         </div>
         <button @click="k3=!k3">K1样式</button>
        -->

        <h1>css 练习</h1>
        <div class="active"> 座位 </div>

       
    </div>
</body>
<script>
var vm = new Vue({
    el: "#app",
    data:{
         k1: true,
         k3: true,
         sz:['active','big']
    },
    methods:{
       
    }
});
</script>
</html>